package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章评论对象 bk_comment
 * 
 * @author ruoyi
 * @date 2025-02-19
 */
public class BkComment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评论id */
    @Excel(name = "评论id")
    private Long commentId;

    /** 文章id */
    @Excel(name = "文章id")
    private Long articleId;

    /** 评论内容 */
    @Excel(name = "评论内容")
    private String content;

    /** 评论者邮箱 */
    @Excel(name = "评论者邮箱")
    private String authorEmail;

    /** 评论者网站 */
    @Excel(name = "评论者网站")
    private String authorWebsite;

    /** 状态 */
    @Excel(name = "状态")
    private Long commentStatus;

    /** 父级评论 */
    @Excel(name = "父级评论")
    private Long parentId;

    /** 评论层数 */
    @Excel(name = "评论层数")
    private Long floor;
    private Long parentFloor;
    private String articleTitle;

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public void setParentFloor(Long parentFloor) {
        this.parentFloor = parentFloor;
    }
    public Long getParentFloor() {
        return parentFloor;
    }

    public void setCommentId(Long commentId)
    {
        this.commentId = commentId;
    }

    public Long getCommentId() 
    {
        return commentId;
    }
    public void setArticleId(Long articleId) 
    {
        this.articleId = articleId;
    }

    public Long getArticleId() 
    {
        return articleId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setAuthorEmail(String authorEmail) 
    {
        this.authorEmail = authorEmail;
    }

    public String getAuthorEmail() 
    {
        return authorEmail;
    }
    public void setAuthorWebsite(String authorWebsite) 
    {
        this.authorWebsite = authorWebsite;
    }

    public String getAuthorWebsite() 
    {
        return authorWebsite;
    }
    public void setCommentStatus(Long commentStatus) 
    {
        this.commentStatus = commentStatus;
    }

    public Long getCommentStatus() 
    {
        return commentStatus;
    }
    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }
    public void setFloor(Long floor) 
    {
        this.floor = floor;
    }

    public Long getFloor() 
    {
        return floor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("commentId", getCommentId())
            .append("articleId", getArticleId())
            .append("content", getContent())
            .append("authorEmail", getAuthorEmail())
            .append("authorWebsite", getAuthorWebsite())
            .append("commentStatus", getCommentStatus())
            .append("parentId", getParentId())
            .append("floor", getFloor())
            .append("createTime", getCreateTime())
            .append("parentFloor", getParentFloor())
            .toString();
    }
}
